<template>
      <svg class="icon" aria-hidden="true">
        <use :xlink:href="'#icon-'+data"></use>
      </svg>
</template>
  
  <script>
  import "@/assets/font-icon/iconfont";
  
  export default {
    name: "App",
    props:['data']
  };
  </script>
  
  <style>
  .icon {
    width: 10em;
    height: 10em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
    color: blueviolet;
  }
  </style>
  